//
//  ApiClient.h
//  ChunLaiZhuangClient
//
//  Created by zzs on 16/3/17.
//  Copyright © 2016年 CLZ. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MKNetworkKit.h"
#import "ApiConfig.h"
@interface ApiClient : NSObject
+ (MKNetworkEngine *)engine;

/**
 *
 *  @param path     URL地址
 *  @param headers http header
 *  @param params  参数
 *
 *  @return 网络请求
 */
+ (MKNetworkOperation *)requestWithPath:(NSString *)path headers:(NSDictionary *)headers params:(NSDictionary *)params httpMethod:(NSString*)httpMethod;

+ (MKNetworkOperation *)requestWithPath:(NSString *)path headers:(NSDictionary *)headers params:(NSDictionary *)params  ssl: (BOOL)ssl;

/**
 *
 *  @param urlString     URL地址
 *  @param headers http header
 *  @param params  参数
 *
 *  @return 网络请求
 */

+ (MKNetworkOperation *)requestWithUrlString:(NSString*)urlString headers:(NSDictionary *)headers params:(NSDictionary *)params  httpMethod:(NSString*)httpMethod;

@end
